import java.awt.Canvas;
import java.awt.Graphics;
import java.awt.Color;
/**
 * @author 
 * Yannic Remmet			196983
 * Tobias Trabelsi			197112
 * Anna-Katharina Wickert	197122
 */
public class CircleSquare  extends Canvas{
	/**
	 * 
	 */
	private static final long serialVersionUID = 9054488975561399467L;

	void clear() {
		repaint();
	}
	public void draw(){
		Graphics gr = this.getGraphics();
		gr.setColor(Color.black);
		gr.drawRect(50, 50, 100, 100);
	}
	
	public void drawCircle(int x, int y, int z, int r, int g, int b) {
		Graphics gr = this.getGraphics();
		gr.setColor(new Color(r, g, b));
		gr.drawOval(x, y, z, z);
		
	}
	public void drawCircleFilled(int x, int y, int z, int r, int g, int b) {
		Graphics gr = this.getGraphics();
		gr.setColor(new Color(r, g, b));
		gr.fillOval(x, y, z, z);
	}
	public void drawSquare(int x, int y, int z, int r, int g, int b ) {
		Graphics gr = this.getGraphics();
		gr.setColor(new Color(r, g, b));
		gr.drawRect(x, y, z, z);
	}
	public void drawSquareFilled(int x, int y, int z, int r, int g, int b) {
		Graphics gr = this.getGraphics();
		gr.setColor(new Color(r, g, b));
		gr.fillRect(x, y, z, z);
	}
}
